﻿namespace il2lua
{
    public record struct LuaRole(string Name, string Space) : ILuaRole
    {
        public string FullName
        {
            get
            {
                if (string.IsNullOrEmpty(Space))
                    return Name;
                return $"{Space}.{Name}";
            }
        }
    }
}
